package batframework.mvc.render;

import java.io.File;
import java.io.InputStream;

import batframework.code.util.IoUtils;



public class HtmlRender extends TextRender
{
	private final static String contentType = "text/html";
	
	@Override
	public void render()
	{
		super.render();
	}

	public HtmlRender(String html)
	{
		super(html);
	}
	
	public HtmlRender(InputStream inputStream)
	{
		super(inputStream);
	}
	
	public HtmlRender(File file)
	{
		this(IoUtils.getInputStream(file));
	}
	
	@Override
	public String getContentType()
	{
		return contentType;
	}
}
